home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part1 / 5429 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  5.8 KB

  1. Path: news-feed.iguide.com!usenet
  2. From: jdow@BIX.com (Joanne Dow)
  3. Newsgroups: comp.sys.amiga.misc
  4. Subject: Re: 9GB SCSI II Controller Card for the A3000?
  5. Date: 21 Feb 1996 08:48:44 GMT
  6. Organization: News Corporation
  7. Message-ID: <4gem9c$koe@merlin.iguide.com>
  8. References: <1f7_9602041301@ima.infomail.com> <DMIJon.231@unx.sas.com> <1099.6614T1205T2638@Redrobe.demon.co.uk>
  9. Reply-To: jdow@BIX.com (Joanne Dow)
  10. NNTP-Posting-Host: bix.com
  11. X-Newsreader: NetBix 1.250
  12. X-Newsreader-Author: lwilton@BIX.com (Loren Wilton)
  13.     This message has been posted with development version software.
  14.     If there are any problems with the message format, send me mail.
  15.  
  16. In article <1099.6614T1205T2638@Redrobe.demon.co.uk>,
  17.    Mike@Redrobe.demon.co.uk (Mike) wrote:
  18. >
  19. >Hi, James Cooper , on 09-Feb-96 14:45:59 you scribbled....
  20. >>In article <1f7_9602041301@ima.infomail.com>,
  21. >>Dale.Frameli@311.ima.infomail.com (Dale Frameli) writes:
  22. >>>Anyone know if there's a SCSI II controller board that's both A3000
  23. >>>compatable AND recognizes, partitions and formats a 9GB hard drive?  I'd
  24. >>>really like to get an 060 accelerator with a SCSI II option that would
  25. >>>support such a drive...
  26. >>> Maybe CyberStorm or DKB will build one.
  27. >
  28. >>The A3000 internal SCSI interface will handle 9GB (and larger) drives
  29. >>with no problems at all.
  30. >
  31. >>The problem is that neither dos.library nor the filesystem can easily
  32. >>deal with anything over 2GB.  It doesn't matter *what* SCSI interface
  33. >>you use, until the OS is updated, you're stuck.
  34. >
  35. >does this mean you can't use disks >2GB or just that you can't have partitions
  36. >over 2GB ??
  37.  
  38. OK - I see it is time to sit you guys on mommy's knee and tell you all the facts
  39. of life as pertains Amigas and large disks - yet again. (<sigh> This info is
  40. STILL up on BIX and currently available to anyone who joins and looks for it.)
  41.  
  42. 1) No device driver can accept a "Read()" or "Write()" to an offset that is
  43. beyond 2^32 bytes. The device driver interface is a (signed) 32 bit integer. 
  44. (The signed aspect of it generally does not matter on good device drivers. I
  45. suppose there might be one out there that performs signed arithmetic
  46. internally, though.) Hence the absolute size limit for any filesystem that does
  47. NOT use SCSI direct access is 4 gigabytes. In point of fact here in Wizardess'
  48. Castle we have a 4 gigabyte device perking along just fine. (Its top 100
  49. megabytes or so are not readable, though, as the device's real size is that much
  50. more than 2^32 bytes.) This limitation affects both absolute maximum partition 
  51. size and absolute maximum disk size (without kludges.)
  52.  
  53. 2) If SCSI direct access is used the limitation on device access becomes some
  54. 2^24 BLOCKS. Block size can be virtually anything (on some drives) from 180
  55. bytes through <very large>. (I have seen 16k blocks and heard of larger.) This
  56. leads to potentially VERY large devices being serviceable through SCSI direct.
  57. Do note that all Amiga filesystems with which I am familiar speak in powers of 2
  58. times 512 bytes. (eg 512, 1024, 2048, ... bytes.) I have heard that AFS will
  59. speak SCSI direct for its professional versions. Whether this "will" is as in
  60. present tense "if you want it to" or is as in "someday it will" is something I
  61. do not know. Again this affects absolute maximum partition and disk sizes.
  62.  
  63. 3) The file access model involves a signed 32 bit integer offset and read size.
  64. As it turns out due to standard C library "features" (or so I understand) the
  65. "signed" part of this integer is taken seriously. Hence absolute maximum FILE
  66. size for using C library function access is 2 gigabytes. I am, to tell you the
  67. truth, unsure how this involves the OS Read() and Write() functions. I have
  68. heard that they also take the "signed integer" concept seriously. (Please do not
  69. ask me what a negative size read means. This concept still has me a tad
  70. bemused.)
  71.  
  72. 4) Practical effects may also come to bear on maximum partition size. For
  73. example presume you have a 2 megabyte Amiga and a full 4 gigabyte partition with
  74. an average filesize of 10k bytes. This means you have a grand total of about
  75. 400,000 files. Suppose the disk becomes unvalidated and will not normally
  76. revalidate. Hence you have to use DiskSalv to rebuild the disk with those
  77. 400,000 files on it. Suppose Disksalv uses only 10 bytes per file for
  78. reconstructing the disk, which seems to me to be most optimistic, your poor 2
  79. meg Amiga will run out of memory half way through. Hence you need a smaller
  80. partition size to handle this practical issue. A second misfeature of this large
  81. a partition is the time it takes to scan all these directory entries to perform
  82. a normal revalidation. Even 450 megabyte partitions on a Maxtor Magic drive can
  83. take long enough that you learn anew about stomache acid generated by nerves.
  84.  
  85. 5) It is possible to build a "psuedo-device" that can sit on top of the actual
  86. SCSI device and give the "Read()" and "Write()" access points to the hardware
  87. that are needed for normal filesystems to work. One such beastie is called
  88. something like "giga.device". It may work fine if you really need it. The
  89. technology certainly should be easy enough to generate so it is easy to believe
  90. that giga.device works fine. As it happens I have not had reason to play with
  91. this thing yet so I cannot say one way or the other from personal experience. I
  92. figure on making my own kludge if and when I need it.
  93.  
  94. I hope this sheds some light on things....
  95.  
  96. >Does AFS solve either of these btw?
  97.  
  98. See above - it may or may not depending on the interpretation of the "will" that
  99. I have read here on UseNet a few times.
  100.  
  101. >Mike
  102. >
  103. >--
  104. >---------------------------------------------------------------------------
  105. >Mike Redrobe - Mike@Redrobe.demon.co.uk         MikeRR on #Amiga
  106. >---------------------------------------------------------------------------
  107. >
  108.  
  109. {^_^}     Joanne Dow, Amiga Exchange Editor on BIX, aka The Wizardess
  110.           jdow@bix.com, jdow@delphi.com
  111.  
  112.